<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>住友巡检到导出模板</title>
</head>
<style>
    *{
        padding: 0;
        margin: 0;
        background-color: rgb(255, 255, 255);
        font-family: Simsun;
    }
    .table-box{
        width: 1967px;
    }
    h4{
        font-size: 19px;
        text-align: center;
        height: 27px;
        line-height: 27px;
        margin: 3px auto;
        letter-spacing: 2px;
        margin-left: -37px;
    }
    .table-box table{
        width: 100%;
        border: 1px solid rgb(0,0,0);
        /* border-left: rgba(218, 218, 218, 0.5); */
    }
    .wrap{
        border-bottom: 1px solid rgb(31,187,125);
    }
    .wrap th{
        font-size: 16px;
        text-align: center;
        height: 18px;
        line-height: 18px;
        font-weight:800;
    }
    .wrap .active{
        background-color: rgb(146, 208, 80);
        width:39px;
        position: relative;
    }
    .wrap .active::after{
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        border: 3px solid red;
        border-left: 3px solid transparent;
        border-bottom: 3px solid transparent;
        right: 0px;
        top: 0px;
    }
    .row td{
        font-size: 12px;
        font-weight: bolder;
        height: 125px;
        line-height: 125px;
    }
    
</style>
<body>
    <div class="table-box"> 
        <h4>巡视指摘联络表</h4>
    <table border="1px" cellspacing="0">
        <tr class="wrap">
            <th width="21px">序号</th>
            <th style="width: 74px;">部门</th>
            <th style=" background-color:rgb(255,255,0); width:70px;" >巡视类别</th>
            <th width="70px">巡视者</th>
            <th width="123px">指摘场所</th>
            <th width="133px">不符合事实描述</th>
            <th class="active">分类1</th>
            <th class="active">分类2</th>
            <th class="active">颜值程度</th>
            <th width="224px">不符合图片</th>
            <th width="175px">改善后图片</th>
            <th style=" background-color:rgb(255,255,0); width: 104px;">原因分析</th>
            <th width="103px">改善措施</th>
            <th width="127px">改善责任人</th>
            <th width="68px">预计改善完成时间</th>
            <th width="68px">验证结果</th>           
        </tr>
        <tbody>
        </tbody>
        <script>
            const tbody = document.querySelector('tbody')
            for(let i = 0; i < 16; i++){
                const tr = document.createElement('tr')
                tr.className = 'row'
                tbody.appendChild(tr)
                tr.innerHTML = `
                <td>${i + 1}</td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            `
            }
        </script>
    </table>
    </div>
    
</body>
</html>